/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication1;

/**
 * the command interface is used for adding new commands to protocol
 * each new command should be created as a class that implements the command
 * interface and implements the run pure abstract function
 * 
 */
public interface Command {
    public void run() throws Exception ;
    public String getFormat();
    public String getKey();
}

